<%@ page language="java" contentType="text/html; charset=utf-8" import="java.sql.*" errorPage=""%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
	<jsp:useBean id="LogBean" scope="session" class="Bean.dbConn"/>
    <%
    String myid = request.getParameter("myid");
    int temp1 = LogBean.executeUpdate("delete from user where id =" + "'"+ myid +"'");
    int temp2 = LogBean.executeUpdate("delete from times where myid =" + "'"+ myid +"'");
    int temp3 = LogBean.executeUpdate("delete from testleixin where myid =" + "'"+ myid +"'");
    response.sendRedirect("testlist.jsp");
    LogBean.closeConn();
        %>  
</body>
</html>